# 设计类
# 类名：LoginPage
# 属性：username  password  code
# 方法：click_button()

class LoginPage(object):
    """登录页面类"""
    def __init__(self,username,password,code):
        """设置属性"""
        self.username = username
        self.password = password
        self.code = code
    def click_button(self):
        """登录方法"""
        print(f"请输入用户名:{self.username}")
        print(f"请输入密码:{self.password}")
        print(f"请输入验证码:{self.code}")
        print("点击登录按钮")
# 创建对象
test1 = LoginPage("admin","123456",8888)
# 调用方法
test1.click_button()